import request from '@/utils/request';

// 找大学----院校库table接口
export function getSearchSchool(data) {
  return request({
    url: '/index/searchSchool',
    method: 'post',
    data: data,
  });
}
// 热门学校
export function getHotSchool(data) {
  return request({
    url: '/index/hotSchool',
    method: 'post',
    data: data,
  });
}

//加入对比---取消对比
export function getLikeSave(data) {
  return request({
    url: '/index/likeSave',
    method: 'post',
    data: data,
  });
}

//获取关注列表 --对比列表
export function getLikeList(data) {
  return request({
    url: '/index/likeList',
    method: 'post',
    data: data,
  });
}

//排名筛选条件
export function getRankInfoFilter(data) {
  return request({
    url: '/index/rankInfoFilter',
    method: 'post',
    data: data,
  });
}

//排名信息--APP接口
export function getRankInfo(data) {
  return request({
    url: '/index/rankInfo',
    method: 'post',
    data: data,
  });
}

//排名信息PC接口
export function getRankFullInfo(data) {
  return request({
    url: '/index/rankFullInfo',
    method: 'post',
    data: data,
  });
}

//就业前景
export function searchMajorJob(data) {
  return request({
    url: '/index/searchMajorJob',
    method: 'post',
    data: data,
  });
}

//获取学历要求
export function careerNeedEdu(data) {
  return request({
    url: '/career/careerNeedEdu',
    method: 'post',
    data: data,
  });
}

//获取人才要求
export function careerNeed(data) {
  return request({
    url: '/career/careerNeed',
    method: 'post',
    data: data,
  });
}
